#ifndef ZIPPER_H
#define ZIPPER_H

#include <QtWidgets>
#include "StatusDialog.h"

class Zipper : public QObject
{
    Q_OBJECT
public:
    explicit Zipper(QObject *parent = 0);
    bool makeZip(QString fileName, QStringList fileTree, StatusDialog *stat);

private:
    QString getZipDestination(QString fileName);
    void    zipSpinProjectTree(QString fileName, QStringList fileTree);
    QString filePathName(QString fileName);
    QString shortFileName(QString fileName);

    StatusDialog *statusDialog;

signals:

public slots:

};

#endif // ZIPPER_H
